<?php /* Smarty version Smarty-3.1.18, created on 2015-12-23 14:58:22
         compiled from "/Applications/MAMP/htdocs/kobee/Admin/View/Activity/cardList.html" */ ?>
<?php /*%%SmartyHeaderCode:93715108856610393ea07b0-79324984%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2d3020105f907b5b1c13508f06da30a8f4ad01cd' => 
    array (
      0 => '/Applications/MAMP/htdocs/kobee/Admin/View/Activity/cardList.html',
      1 => 1450852376,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '93715108856610393ea07b0-79324984',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_566103940abd15_32236278',
  'variables' => 
  array (
    '_C' => 0,
    'list' => 0,
    'art' => 0,
    'page' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_566103940abd15_32236278')) {function content_566103940abd15_32236278($_smarty_tpl) {?><!DOCTYPE html>
<html>
    
    <head>
        <meta charset="utf-8">
        <title>
        </title>
        <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/amazeui.min.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/hy.admin.css"/>
    </head>
    
    <body>
        <div class="am-g">
            <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

            <div class="am-u-md-6 am-cf">
                <div class="am-fl am-cf">
                    <div class="am-btn-toolbar am-fl">
                        <div class="am-btn-group am-btn-group-xs">
                            <button data-id="addCard" data-href="index.php?g=admin&m=activity&a=addCard"
                            type="button" class="am-btn am-btn-default hy-js-href">
                                <span class="am-icon-plus">
                                </span>
                                新增优惠券
                            </button>
                        </div>
                        <div class="am-form-group am-margin-left am-fl">
                        </div>
                    </div>
                </div>
            </div>
            <div class="am-u-md-3 am-cf">
                <div class="am-fr">
                    <div class="am-input-group am-input-group-sm">
                    </div>
                </div>
            </div>
            <div class="am-g">
                <div class="am-u-sm-12">
                    <div class="am-form">
                        <table class="am-table am-table-striped am-table-hover hy-table-main">
                            <thead>
                                <tr>
                                    <th class="table-check">
                                    </th>
                                    <th class="table-id">
                                        ID
                                    </th>
                                    <th class="table-title">
                                        价格
                                    </th>
                                    <th class="table-title">
                                        备注
                                    </th>
                                    <th class="table-title">
                                        数量
                                    </th>
                                    <th class="table-title">
                                        已领数量
                                    </th>
                                    <th class="table-title">
                                        已使用
                                    </th>
                                    <th width="80px" class="table-title">
                                        优先级
                                    </th>
                                    <th class="table-title">
                                    	几率
                                    </th>
                                    <th class="table-set">
                                        操作
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value) {
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                        <?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>

                                    </td>
                                    <td>
                                        <?php echo $_smarty_tpl->tpl_vars['art']->value['card_money'];?>

                                    </td>
                                    <td>
                                        <?php echo $_smarty_tpl->tpl_vars['art']->value['card_note'];?>

                                    </td>
                                    <td>
                                        <?php echo $_smarty_tpl->tpl_vars['art']->value['card_num'];?>

                                    </td>
                                    <td>
                                        <?php echo $_smarty_tpl->tpl_vars['art']->value['card_user'];?>

                                    </td>
                                    <td>
                                        <?php echo $_smarty_tpl->tpl_vars['art']->value['used'];?>

                                    </td>
                                    <td>
                                        <input class="hy-js-order hy-w-50" data-id="<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
" data-action="orderCard" type="text"  value="<?php echo $_smarty_tpl->tpl_vars['art']->value['ordering'];?>
" />
                                    </td>
                                    <td>
                                    	<?php echo $_smarty_tpl->tpl_vars['art']->value['card_chance'];?>

                                    </td>
                                    <td>
                                        <div class="am-btn-toolbar">
                                            <div class="am-btn-group am-btn-group-xs">
                                                <button data-id="editCard_<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
" data-title="<?php echo $_smarty_tpl->tpl_vars['art']->value['card_money'];?>
"
                                                data-href="index.php?g=admin&m=activity&a=editCard&id=<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href">
                                                    <span class="am-icon-pencil-square-o">
                                                    </span>
                                                    编辑
                                                </button>
                                                <button data-param="{ url:'index.php?g=admin&m=activity&a=delCard&id=<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
',hide:4}"
                                                class="am-btn am-btn-default am-btn-xs am-text-danger hy-js-del">
                                                    <span class="am-icon-trash-o">
                                                    </span>
                                                    删除
                                                </button>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                                <?php } ?>
                            </tbody>
                        </table>
                        <div class="am-cf">
                            <div class="am-fr">
                                <?php echo $_smarty_tpl->tpl_vars['page']->value;?>

                            </div>
                        </div>
                        <hr />
                    </div>
                </div>
            </div>
        </div>
        <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

    </body>

</html><?php }} ?>
